package com.cwj.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@MapperScan(basePackages = "com.cwj.dao")
@SpringBootApplication(scanBasePackages = {"com.cwj"})
public class WebApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(WebApplication.class, args);
        String[] names = run.getBeanDefinitionNames();
//        for (String name : names) {
//          System.out.println(name);
//        }

    }

}
